package cn.signalpha.modules.com.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 实体类
 *
 * @author signalpha
 */
@Data
@TableName("com_user_level")
@ApiModel(value = "UserLevel对象", description = "用户等级")
public class UserLevel implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

	@ApiModelProperty(value = "图标")
	private String icon;

	@ApiModelProperty(value = "背景图")
	private String img;

	@ApiModelProperty(value = "字体颜色")
	private String color;

	@ApiModelProperty(value = "升级需要经验值")
	private Integer expUp;

	@ApiModelProperty(value = "下单获得经验值")
	private Integer expOrder;

    @ApiModelProperty(value = "参数1")
    private Double param1;

    @ApiModelProperty(value = "参数2")
    private Double param2;

    @ApiModelProperty(value = "参数3")
    private Double param3;

}
